

"""
    break示例
"""
num = 5
while num<10:
    if num>7:
        break 
    print("num是%d"%num)
    num = num+1


"""
    continue示例
"""
str1 = "abcd"
for item in str1:
    if item=="a":
        continue
    print(item)